/*
 * @Date: 2024-03-27 16:37:17
 * @LastEditors: bingkui.wu
 * @LastEditTime: 2024-04-07 09:34:34
 * @Description: 单词声音
 */
import mongoose, { Schema, Model, Document } from 'mongoose';

export interface IWordSound extends Document {
    Text: string,
    SoundUrl: string,
}

export interface IWordSoundModel extends Model<IWordSound> {
}

const schema = new Schema({
    Text: String,
    SoundUrl: String
});

export const WordSound = mongoose.model<IWordSound>('word_sound', schema) as IWordSoundModel;
